import axios from './../api/interface-package'
import interfacePath from './../api/interface-path'

class Login {
  asyncRoute() {
    return axios('/getRoutes')
  }

  register(config) {
    return axios(`${interfacePath.login}/webapi/HrPersonal/add`, config)
  }
}

export default new Login()
